﻿<Window x:Class="MDigman.Camera.Media.Copier.WPF.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Camera Media Copier" xmlns:my="clr-namespace:System;assembly=mscorlib" Height="290" Background="AliceBlue" WindowStartupLocation="CenterScreen" WindowStyle="None" ResizeMode="NoResize" Icon="App.ico" Left="Auto" SizeToContent="Width" BorderThickness="1" BorderBrush="DarkSlateBlue">
    <Grid>
        <DockPanel Height="40" VerticalAlignment="Top">
            <Label Margin="5,0,0,0" HorizontalAlignment="Left" VerticalAlignment="Top" FontWeight="Bold" FontSize="20">Camera Media Copier</Label>
            <Menu HorizontalAlignment="Right" VerticalAlignment="Top" Background="AliceBlue">
                <MenuItem Header="Tools">
                    <MenuItem Header="Clear history" Click="MenuItem_ClearHistory"></MenuItem>
                    <Separator></Separator>
                    <MenuItem Header="Options..." Click="MenuItem_Settings"></MenuItem>
                </MenuItem>
                <MenuItem Header="About" Click="MenuItem_About" ></MenuItem>
            </Menu>
        </DockPanel>
        <StackPanel Height="40" Margin="0,40,0,0" VerticalAlignment="Top" Orientation="Horizontal">
            <Label Height="26" Width="100" Margin="5,5,0,5" HorizontalAlignment="Left" Name="lblFrom" VerticalAlignment="Top" HorizontalContentAlignment="Right">Copy from</Label>
            <ComboBox Height="24" Width="300" Margin="5" Name="cbFrom" VerticalAlignment="Top" ToolTip="Select the directory where the pictures are stored from history."></ComboBox>
            <Button Height="24" Width="25" Margin="5,5,15,5" HorizontalAlignment="Right" Name="btnFrom" VerticalAlignment="Top" Click="SelectFromFolder" ToolTip="Select a new directory where the pictures are stored.">...</Button>
        </StackPanel>
        <StackPanel Height="40" Margin="0,80,0,0" VerticalAlignment="Top" Orientation="Horizontal">
            <Label Height="26" Width="100" Margin="5,5,0,5" HorizontalAlignment="Left" Name="lblToImage" VerticalAlignment="Top" HorizontalContentAlignment="Right">Copy images to</Label>
            <ComboBox Height="24" Width="300" Margin="5" Name="cbToImage" VerticalAlignment="Top" ToolTip="Select the directory where you want your pictures to be copied from history."></ComboBox>
            <Button Height="24" Width="25" Margin="5,5,15,5" HorizontalAlignment="Right" Name="btnToImage" VerticalAlignment="Top" Click="SelectImageFolder" ToolTip="Select a new directory where you want your pictures to be copied.">...</Button>
        </StackPanel>
        <StackPanel Height="40" Margin="0,120,0,0" VerticalAlignment="Top" Orientation="Horizontal">
            <TextBlock Height="26" Width="335" HorizontalAlignment="Left" Margin="110,10,0,0" Name="txtImageFolder" VerticalAlignment="Top"></TextBlock>
        </StackPanel>
        <StackPanel Height="40" Margin="0,160,0,0" VerticalAlignment="Top" Orientation="Horizontal">
            <Label Height="26" Width="100" Margin="5,5,0,5" HorizontalAlignment="Left" Name="lblToVideo" VerticalAlignment="Top" HorizontalContentAlignment="Right">Copy videos to</Label>
            <ComboBox Height="24" Width="300" Margin="5" Name="cbToVideo" VerticalAlignment="Top" ToolTip="Select the directory where you want your videos to be copied from history." IsEditable="False"></ComboBox>
            <Button Height="24" Width="25" Margin="5,5,15,5" HorizontalAlignment="Right" Name="btnToVideo" VerticalAlignment="Top" Click="SelectVideoFolder" ToolTip="Select a new directory where you want your videos to be copied.">...</Button>
        </StackPanel>
        <StackPanel Height="30" Margin="0,200,0,0" VerticalAlignment="Top" Orientation="Horizontal">
            <TextBlock Height="26" Width="335" HorizontalAlignment="Left" Margin="110,10,0,0" Name="txtVideoFolder" VerticalAlignment="Top"></TextBlock>
        </StackPanel>
        <StackPanel VerticalAlignment="Bottom" Orientation="Horizontal" FlowDirection="RightToLeft">
            <Button IsCancel="True" Name="btnClose" Width="65" Height="22" Margin="15,5,0,15" VerticalAlignment="Bottom" Click="Close_Clicked">Close</Button>
            <Button IsDefault="True" Name="btnCopy" Width="65" Height="22" Margin="10,5,0,15" VerticalAlignment="Bottom" Click="Copy_Clicked">Copy</Button>
        </StackPanel>
    </Grid>
</Window>
